home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / lfsrecov / desc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-06-26  |  1.6 KB  |  53 lines

  1. /*
  2.  * desc.h --
  3.  *
  4.  *    Declarations of the interface the the file descriptor mantipulation
  5.  *    routines in desc.c
  6.  *
  7.  * Copyright 1991 Regents of the University of California
  8.  * Permission to use, copy, modify, and distribute this
  9.  * software and its documentation for any purpose and without
  10.  * fee is hereby granted, provided that this copyright
  11.  * notice appears in all copies.  The University of California
  12.  * makes no representations about the suitability of this
  13.  * software for any purpose.  It is provided "as is" without
  14.  * express or implied warranty.
  15.  *
  16.  * $Header: /sprite/lib/forms/RCS/proto.h,v 1.7 91/02/09 13:24:52 ouster Exp $ SPRITE (Berkeley)
  17.  */
  18.  
  19. #ifndef _DESC
  20. #define _DESC
  21.  
  22. /* constants */
  23.  
  24. /* data structures */
  25.  
  26. /* procedures */
  27.  
  28. extern void RecordNewDesc _ARGS_((int fileNumber, int address, 
  29.                 LfsFileDescriptor *descPtr));
  30. extern Boolean FindNewDesc _ARGS_((int fileNumber, int *addrPtr, 
  31.                 LfsFileDescriptor **descPtrPtr));
  32. extern Boolean ScanNewDesc _ARGS_((ClientData *clientDataPtr, 
  33.     int *fileNumberPtr, int *addressPtr, LfsFileDescriptor **descPtrPtr));
  34.  
  35. extern void ScanNewDescEnd _ARGS_((ClientData *clientDataPtr));
  36.  
  37. extern void RecordUnrefDesc _ARGS_((int fileNumber, int dirFileNumber, 
  38.             Fslcl_DirEntry *dirEntryPtr));
  39.  
  40.  
  41. extern Boolean ScanUnrefDesc _ARGS_((ClientData *clientDataPtr, 
  42.                 int *fileNumberPtr));
  43.  
  44. extern void ScanUnrefDescEnd _ARGS_((ClientData *clientDataPtr));
  45.  
  46. extern void RecovDescMapSummary _ARGS_((Lfs *lfsPtr, enum Pass pass, 
  47.     LfsSeg *segPtr, int startAddress, int offset, 
  48.     LfsSegSummaryHdr *segSummaryHdrPtr));
  49.  
  50.  
  51. #endif /* _DESC */
  52.  
  53.